﻿using System.Collections.Generic;
using SIG.Model.Store;

namespace SIG.Service
{
    public interface ICartService : IEntityService<Cart>
    {
        Cart SingleOrDefault(string ShoppingCartId, int goodsId);
        Cart Single(string ShoppingCartId, int Id);
        void MigrateCart(string ShoppingCartId, string userName);
        void EmptyCart(string ShoppingCartId);
        //List<Cart> GetPagedElements(int pageIndex, int pageSize, string keyword, out int totalCount);
        //List<Cart> GetPagedElements(int pageIndex, int pageSize, out int totalCount);
    }
}
